package Demo08.Demo0816;

public class CSDN {
    public static void main(String[] args) {
        //这里这里看这里！！！！！下面的main1不要看！！
        int a = 0xAAAAAAAA;
        int b = 0x55555555;
        int c = a;
        System.out.println(a^b);
        System.out.println(a^c);
        System.out.println("=========================");
        System.out.println(a);
        System.out.println(~b);
    }
    public static void main1(String[] args) {
        {
            int a = 10;
            System.out.printf(Integer.toBinaryString(a));
            System.out.println("\n=============================");
            System.out.println(~a);
            System.out.printf(Integer.toBinaryString(~a));
        }
    }
}